How to solve this quadratic equation that includes absolute value symbol